package com.yuanchu.order.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.databind.PropertyNamingStrategy;
import com.fasterxml.jackson.databind.annotation.JsonNaming;
import lombok.Data;

import java.io.Serializable;

/**
 * 商品评价记录表
 * 
 * @author adan
 * @email 2028038953@gmail.com
 * @date 2023-12-19 20:57:20
 */
@JsonNaming(PropertyNamingStrategy.SnakeCaseStrategy.class)
@Data
@TableName("yoshop_comment")
public class YoshopCommentEntity implements Serializable {
	private static final long serialVersionUID = 1L;

	/**
	 * 评价ID
	 */
	@TableId
	private Integer commentId;
	/**
	 * 评分 (10好评 20中评 30差评)
	 */
	private Integer score;
	/**
	 * 评价内容
	 */
	private String content;
	/**
	 * 是否为图片评价
	 */
	private Integer isPicture;
	/**
	 * 状态(0隐藏 1显示)
	 */
	private Integer status;
	/**
	 * 评价排序
	 */
	private Integer sort;
	/**
	 * 用户ID
	 */
	private Integer userId;
	/**
	 * 订单ID
	 */
	private Integer orderId;
	/**
	 * 商品ID
	 */
	private Integer goodsId;
	/**
	 * 订单商品ID
	 */
	private Integer orderGoodsId;
	/**
	 * 商城ID
	 */
	private Integer storeId;
	/**
	 * 软删除
	 */
	private Integer isDelete;
	/**
	 * 创建时间
	 */
	private String createTime;
	/**
	 * 更新时间
	 */
	private String updateTime;

}
